package cn.com.service;

import cn.com.beans.AccountInfo;
public interface AccountInfoService{

    boolean selectByPhone(String phone);

    boolean selectByPhoneAndPwd(AccountInfo accountInfo);

    int deleteByPrimaryKey(Integer aId);

    boolean insert(AccountInfo accountInfo);

    int insertSelective(AccountInfo record);

    AccountInfo selectByPrimaryKey(Integer aId);

    int updateByPrimaryKeySelective(AccountInfo record);

    int updateByPrimaryKey(AccountInfo accountInfo);

//    boolean updatepasswordByphone(AccountInfo accountInfo);

}
